package com.yuyou.tas.lesson.mapper;

import com.yuyou.tas.service.api.lesson.entity.LessonResource;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LessonResourceMapper {

    int insert(LessonResource record);

    LessonResource selectByPrimaryKey(Long id);
    
    LessonResource selectByResourceId(String resourceId);
    

    int updateByPrimaryKeySelective(LessonResource record);

    List<LessonResource> selectTemps();

    List<String> findOldDataLeave();
    
    List<LessonResource> findByLcNull();
    
    List<LessonResource> findByLcNotNull();
}